package com.manage.platform.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Null;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * YWD
 * 2025/9/19
 */
@Accessors(chain = true)
@Data
public class DictDto implements Serializable {

    @Schema(description = "字典ID,修改必传")
    private Long id;

    @Null
    @Schema(description = "创建者用户ID,不传", hidden = true)
    private Long userId;

    @Schema(description = "字典名称")
    private String name;

    @Schema(description = "字典类型")
    private String type;

    @Schema(description = "字典描述")
    private String description;

    @Schema(description = "状态(0=禁用,1=启用)")
    private Integer status;

}
